import Vue from 'vue'
import Vuex from 'vuex'
import modules from './modules'

Vue.use(Vuex)

const debug = process.env.NODE_ENV !== 'production'

//Vuex.Store 构造器选项
const store = new Vuex.Store({
	modules,
	strict:debug
})
export default store